#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	double a, b, d;
	char c;
	scanf("%lf%c%lf", &a, &c, &b);
	switch (c)
	{
	case '+':
	{
		d = a + b;
		printf("%.2f%c%.2f=%.2f\n", a, c, b, d);
		break;
	}
	case '-':
	{
		d = a - b;
		printf("%.2f%c%.2f=%.2f\n", a, c, b, d);
		break;
	}
	case '*':
	{
		d = a * b;
		printf("%.2f%c%.2f=%.2f\n", a, c, b, d);
		break;
	}
	case '/':
	{
		if (b != 0)
		{
			d = a / b;
			printf("%.2f%c%.2f=%.2f\n", a, c, b, d);
		}
		else
		{
			printf("error");
		}
		break;
	}
	default:
		printf("error");
	}
	return 0;
}